<!DOCTYPE html>

<html>
<head>
  <style>
    .box {
        position: relative;
        height: 200px;
        width: 200px;
        background-color: green;
    }
    
    .blurry {
        margin: 50px;
        -webkit-filter: blur(10px);
    }
    
    #change {
        height: 100px;
        width: 100px;
        top: 50px;
        left: 50px;
        background-color: red;
    }
  </style>
  <script src="../../resources/run-after-display.js"></script>
  <script>
      if (window.testRunner) {
          testRunner.dumpAsTextWithPixelResults();
          testRunner.waitUntilDone();
      }

      function repaintTest()
      {
          runAfterDisplay(function() {
              document.getElementById('change').style.backgroundColor = "green";
              if (window.testRunner)
                  testRunner.notifyDone();
          });
      }
  </script>
</head>
<body onload="repaintTest()">

  <div class="blurry box">
      <div id="change" class="box">
      </div>
  </div>

</body>
</html>
